<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script
	src="${pageContext.request.contextPath}/resources/js/jquery-1.9.1.min.js"></script>
<script
	src="${pageContext.request.contextPath}/resources/js/bootstrap.min.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/resources/js/login.js"></script>
<link rel="stylesheet" type="text/css"
	href="${pageContext.request.contextPath}/resources/css/bootstrap.min.css" />
<link rel="stylesheet" type="text/css"
	href="${pageContext.request.contextPath}/resources/css/main_font.css" />
<title>四川芝麻开门管理系统——登陆</title>
</head>
<body>
	<div class="container">
		<div style="width: 300px; padding-top: 50px">
			<form action="${pageContext.request.contextPath}/login/verify"
				id="formLogin" method="post">
				<div class="form-group">
					<label for="Username">用户</label> <input type="text"
						class="form-control" id="Username" placeholder="用户名或者手机号"
						name="userName">
				</div>
				<div class="form-group">
					<label for="passWord">密码</label> <input type="password"
						class="form-control" id="passWord" placeholder="密码"
						name="passWord">
				</div>

				<!-- <h4>
				用户名：<input id="username" type="text" name="userName">
			</h4>
			<h4>
				密码：<input id="password" type="text" name="passWord">
			</h4> -->
				<div id="loginReturn">
					<c:set var="response" scope="request" value="${serverResponse}" />
					<c:if test="${response.status==1}">
						<font color='red'>${response.msg}</font>
					</c:if>
				</div>
				<div class="checkbox">
					<label> <input type="checkbox"> 记住我
					</label>
				</div>
				<div>
					<button type="button" class="btn btn-success" style="width: 100px"
						onclick="loginVerify()">登录</button>
				</div>
			</form>
		</div>
	</div>
</body>
</html>